package com.etc.youkeshoppingssm.entity;

import java.io.Serializable;
import java.util.Date;

public class Business implements Serializable {
    private int id;
    private String businessName;
    private String password;
    private String businessChName;
    private Date createDate;
    private String contacts;
    private String tel;
    private String email;
    private String province;
    private String city;
    private String county;
    private String details;
    private String photoUrl;
    private char status;

    @Override
    public String toString() {
        return "Business{" +
                "id=" + id +
                ", businessName='" + businessName + '\'' +
                ", password='" + password + '\'' +
                ", businessChName='" + businessChName + '\'' +
                ", createDate=" + createDate +
                ", contacts='" + contacts + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", county='" + county + '\'' +
                ", details='" + details + '\'' +
                ", photoUrl='" + photoUrl + '\'' +
                ", status=" + status +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBusinessChName() {
        return businessChName;
    }

    public void setBusinessChName(String businessChName) {
        this.businessChName = businessChName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public char getStatus() {
        return status;
    }

    public void setStatus(char status) {
        this.status = status;
    }

    public Business(String businessName, String password, String businessChName, Date createDate, String contacts, String tel, String email, String province, String city, String county, String details, String photoUrl, char status) {
        this.businessName = businessName;
        this.password = password;
        this.businessChName = businessChName;
        this.createDate = createDate;
        this.contacts = contacts;
        this.tel = tel;
        this.email = email;
        this.province = province;
        this.city = city;
        this.county = county;
        this.details = details;
        this.photoUrl = photoUrl;
        this.status = status;
    }

    public Business() {
    }
}
